package com.twu.biblioteca;
import java.io.InputStream;
import java.util.Scanner;

public class checkUserInput {
    int a;
    Scanner reader;
    public checkUserInput(InputStream input){
        reader = new Scanner(input);
    }
    // Take input from a custom stream, useful for testing purposes as well
    public int takeUserInput(){
        String choice;
        a = reader.nextInt();
        return a;
    }

}
